inputString=input("请输入一个字符串：")
dict1=dict()
for i in inputString:
    if i in dict1:
        dict1.update([(i,dict1[i]+1)])
    else:
        dict1.update([(i,1)])
print(dict1)
